use mlibs::periph::{gpio::PA, rcc::RCC};
use mlibs::periph::config_gpio;

#[config_gpio(
    LED1_PA6_OUT_PP,
    LED2_PA7_OUT_PP
)]
struct Led;

pub fn init() {
    Led.init();
}

pub fn led_toggle() {
    Led.led1_toggle();
    Led.led2_toggle();
}

